package com.movie.service;

import com.movie.model.Movie; import com.movie.model.Screening; import com.movie.model.Ticket;

import java.util.List;

public interface DataService {

   void saveMovies(List<Movie> movies);
   List<Movie> loadMovies();
   void saveScreenings(List<Screening> screenings);
   List<Screening> loadScreenings();
   void saveTickets(List<Ticket> tickets);
   List<Ticket> loadTickets();
   void deleteMovie(String movieId);
   void deleteTicket(String ticketId);
}